@import '~default.less';

.web-datasource {
  height: 100%;
  width: 100%;
  &-database, &-table, &-tableinfo {
    width: 25%;
    min-width: 200px;
    background: #ffffff;
    border-right: 1px solid @border-color-base;
    &-top {
      padding: 10px 16px;
      background: #eee;
      border-bottom: 1px solid @border-color-base;
      text-align: center;
    }
    &-body {
      overflow-y: auto;
      overflow-y: visible;
    }

    &-item {
      cursor: pointer;
      padding: 0 16px;
      font-size: 16px;
      font-weight: 500;
      line-height: 40px;
      border-bottom: 1px solid @border-color-base;
      border-right: 3px solid transparent;
      margin-right: -1px;
      &:hover {
        background: #fafafa;
      }
      &-active {
        background: #e6f7ff;
        border-right: 1px solid #e6f7ff;
      }
    }
    .anticon {
      font-size: 16px;
    }
  }
  &-table {
    background: #e6f7ff;
    &-item {
      //&:hover,
      &-active {
        background: #bceaff;
        border-right: 1px solid #bceaff;
      }
    }
  }
  &-tableinfo {
    &-body {
      padding: 16px;
    }
    background: #bceaff;
  }
}

